package com.pactera.miyuangroup.db.entity;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 商品信息
 * </p>
 *
 * @author WangWu
 * @since 2018-04-13
 */
@TableName("t_goods_info")
public class GoodsInfo extends Model<GoodsInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
	private String id;
    /**
     * 商品编号
     */
	private String number;
    /**
     * 商品分类ID
     */
	private String classification;
    /**
     * 商品名称
     */
	private String name;
    /**
     * 商品规格
     */
	private String specifications;
    /**
     * 单价（元/瓶）
     */
	private BigDecimal price;
    /**
     * 商品图片url
     */
	private String picture;
    /**
     * (原始)商品ID
     */
	private String originalId;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getClassification() {
		return classification;
	}

	public void setClassification(String classification) {
		this.classification = classification;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSpecifications() {
		return specifications;
	}

	public void setSpecifications(String specifications) {
		this.specifications = specifications;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getPicture() {
		return picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getOriginalId() {
		return originalId;
	}

	public void setOriginalId(String originalId) {
		this.originalId = originalId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "GoodsInfo{" +
			"id=" + id +
			", number=" + number +
			", classification=" + classification +
			", name=" + name +
			", specifications=" + specifications +
			", price=" + price +
			", picture=" + picture +
			", originalId=" + originalId +
			"}";
	}
}
